package com.aaa.arouterone

import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ApplicationComponent
import kotlin.random.Random

/**
 * @Description:  test dagger hilt
 * @Author:  lfc
 * @Email:    iamlifuchang@163.com
 * @CreateTime:     2021/3/30 8:50
 * @UpdateRemark:   test dagger hilt
 */
@Module
@InstallIn(ApplicationComponent::class)
class ApplicationModule {

    @Provides
    fun doSomgThing(): String {
        return Random.nextInt(10).toString()
    }
}